package com.taxshare.api.constant;

/**
 * 通用信息常量类
 *
 * @author chenxd
 * @date 2018/08/18
 */
public final class CommonConstant {

    private CommonConstant() {
    }

    public static final String SUCCESS_MSG = "执行操作成功！";

    public static final String SUCCESS = "T0000";

    public static final String RET_TOL_99999_CODE = "TOL_99999";

    public static final String RET_TOL_99999_MSG = "令牌失效!";

    /**
     * 日期格式一
     */
    public static final String DATE_FORMAT_ONE = "yyyy-MM-dd HH:mm:ss";

    /**
     * 日期格式二
     */
    public static final String DATE_FORMAT_TWO = "yyyy-MM-dd";

    /**
     * 日期格式三
     */
    public static final String DATE_FORMAT_THREE = "yyyyMM";

    /**
     * 日期格式四
     */
    public static final String DATE_FORMAT_FOUR = "yyyyMMddHHmmss";

    public static final String JT_SH = "91110108MA01ATW72J";//集团税号
    public static final String APPID = "4e5ddc2f6bb4";// appid
    public static final String APPSCERT = "33ea88471af525b9d914";// appsecret
    public static final String SST_URL = "https://pubapi.holytax.com/pre/api";//正式环境地址
    public static final String SIGN_TYPE = "0";// 签名类型 (0-HmacSHA256,1-MD5)
    /**
     * 调用税神通接口异常
     */
    public static final String INVOICE_ERROR = "接口调用异常，请检查";
    /**
     * 报文解析异常
     */
    public static final String PARSE_ERROR = "返回数据解析异常，请检查";

    public static final String STATUS_CODE = "statusCode";

    public static final String RESPONSE = "response";

    public static final String RETURN_CODE = "returncode";

    public static final String RETURN_MSG = "returnmsg";

    public static final String CHARACTER_SET_UTF_8 = "utf-8";
}
